<?php $this->beginContent('/layouts/main'); ?>
		<!-- START SIDEBAR -->
        <div id="sidebar">
            

            
            <!-- start sidemenu -->
            <div id="sidemenu">
            	<ul>
                    <li class="menu-separator">数据发布</li>
                    <li <?php if(Yii::app()->controller->id=='grade'){ ?>class="active"<?php } ?> ><a href="<?php echo Yii::app()->createUrl('admin/grade/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/milestone.png" width="16" height="16" alt="icon"/>年级管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='classes'){ ?>class="active"<?php } ?> ><a href="<?php echo Yii::app()->createUrl('admin/classes/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/home.png" width="16" height="16" alt="icon"/>班级管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='gift'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/gift/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/premium.png" width="16" height="16" alt="icon"/>积分兑换管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='teacher'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/teacher/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/product_design.png" width="16" height="16" alt="icon"/>教师库管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='student'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/student/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/user.png" width="16" height="16" alt="icon"/>学生库管理</a></li>

                    <li class="menu-separator">用户管理</li>
                    <li  <?php if(Yii::app()->controller->id=='people' && Yii::app()->request->getParam('role')==3){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/people/index',array('role'=>3)) ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/sitemap.png" width="16" height="16" alt="icon"/>教师管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='people'  && Yii::app()->request->getParam('role')==1){ ?>class="active"<?php } ?> ><a href="<?php echo Yii::app()->createUrl('admin/people/index',array('role'=>1)) ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/featured.png" width="16" height="16" alt="icon"/>学生管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='people' && Yii::app()->request->getParam('role')==2){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/people/index',array('role'=>2)) ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/heart.png" width="16" height="16" alt="icon"/>家长管理</a></li>



                    <li class="menu-separator">数据管理</li>
                    <li <?php if(Yii::app()->controller->id=='book'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/book/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/copy.png" width="16" height="16" alt="icon"/>图书管理</a></li>
                    <li <?php if(Yii::app()->controller->id=='news'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/news/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/check.png" width="16" height="16" alt="icon"/>阅读指导管理</a></li>

                    <li class="menu-separator">3G配置</li>
                    <li  <?php if($this->getAction()->getId()=='info' && Yii::app()->controller->id=='wap'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/wap/info') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/feed.png" width="16" height="16" alt="icon"/>账号配置</a></li>
                    <li class="menu-separator">课堂观测平台</li>
                    <li  <?php if($this->getAction()->getId()=='human' && Yii::app()->controller->id=='observation'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/observation/human') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/feed.png" width="16" height="16" alt="icon"/>专家管理</a></li>
                    <li  <?php if($this->getAction()->getId()=='open' && Yii::app()->controller->id=='observation'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/observation/open') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/feed.png" width="16" height="16" alt="icon"/>公开课管理</a></li>
                    <li  <?php if($this->getAction()->getId()=='point' && Yii::app()->controller->id=='observation'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/observation/point') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/feed.png" width="16" height="16" alt="icon"/>分类管理</a></li>
                        <li  <?php if($this->getAction()->getId()=='openComment' && Yii::app()->controller->id=='observation'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/observation/openComment') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/feed.png" width="16" height="16" alt="icon"/>评论管理</a></li>
                    <li class="menu-separator">课堂资源管理</li>
                    <li <?php if(Yii::app()->controller->id=='opus' && $this->getAction()->getId()=='index'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/opus/index') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/copy.png" width="16" height="16" alt="icon"/>课堂资源</a></li>
                    <li <?php if(Yii::app()->controller->id=='opus' && $this->getAction()->getId()=='student'){ ?>class="active"<?php } ?>><a href="<?php echo Yii::app()->createUrl('admin/opus/student') ?>"><img src="<?php echo $this->adminPath; ?>/img/icons/sidemenu/copy.png" width="16" height="16" alt="icon"/>学生作品</a></li>
                </ul>
            </div>

            
        </div>

        <div id="page">
                
             <?php echo $content; ?>
             
        </div>


<?php $this->endContent(); ?>